home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / rrecta.idl < prev    next >
Encoding:
Text File  |  2001-10-16  |  5.0 KB  |  132 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // RRectA.idl : IDL source for RRectA.dll
  12. //
  13.  
  14. // This file will be processed by the MIDL tool to
  15. // produce the type library (RRectA.tlb) and marshalling code.
  16.  
  17. import "oaidl.idl";
  18. import "ocidl.idl";
  19.     [
  20.         object,
  21.         uuid(45232FA1-65A2-11D2-8C4A-00403338C504),
  22.         dual,
  23.         helpstring("IAutoRect Interface"),
  24.         pointer_default(unique)
  25.     ]
  26.     interface IAutoRect : IDispatch
  27.     {
  28.         [propget, id(1), helpstring("property ClassID")] HRESULT ClassID([out, retval] BSTR *pVal);
  29.         [propget, id(2), helpstring("property Description")] HRESULT Description([out, retval] BSTR *pVal);
  30.  
  31.         [id(3), helpstring("method GetPropertyInfo")] HRESULT GetPropertyInfo(VARIANT* Names,
  32.                                                                               VARIANT* Types, 
  33.                                                                               VARIANT* IDs, 
  34.                                                                               VARIANT* Defaults,
  35.                                                                               [out, retval] long* ret);
  36.  
  37.         [id(4), helpstring("method GetPageInfo")] HRESULT GetPageInfo(IDispatch* AGraphic,
  38.                                                                       long* StockPages,
  39.                                                                       VARIANT* Names,
  40.                                                                       [out, retval] long* ret);
  41.  
  42.         [id(5), helpstring("method GetWizardInfo")] HRESULT GetWizardInfo(VARIANT* Names,
  43.                                                                           [out, retval] long* ret);
  44.  
  45.         [id(6), helpstring("method GetEnumNames")] HRESULT GetEnumNames(long PropID, 
  46.                                                                         VARIANT* Names, 
  47.                                                                         VARIANT* Values,
  48.                                                                         [out, retval] long* ret);
  49.  
  50.         [id(7), helpstring("method PageControls")] HRESULT PageControls(IDispatch* ThisRegenMethod,
  51.                                                                         IDispatch* AGraphic,
  52.                                                                         long PageNumber, 
  53.                                                                         boolean SaveProperties,
  54.                                                                         [out, retval] VARIANT_BOOL* ret);
  55.  
  56.  
  57.         [id(8), helpstring("method PageDone")] HRESULT PageDone(IDispatch* ThisRegenMethod,
  58.                                                                 VARIANT* PageNumber);
  59.  
  60.         [id(9), helpstring("method PropertyPages")] HRESULT PropertyPages(IDispatch* ThisRegenMethod,
  61.                                                                           VARIANT* PageNumber,
  62.                                                                           [out, retval] VARIANT_BOOL* ret);
  63.  
  64.         [id(10), helpstring("method Wizard")] HRESULT Wizard(IDispatch* ThisRegenMethod,
  65.                                                              VARIANT* WizardNumber,
  66.                                                              [out, retval] VARIANT_BOOL* ret);
  67.  
  68.         [id(11), helpstring("method OnGeometryChanged")] HRESULT OnGeometryChanged(IDispatch* AGraphic, 
  69.                                                                                    long GeomID,
  70.                                                                                    VARIANT* ParamOld,
  71.                                                                                    VARIANT* ParamNew);
  72.  
  73.         [id(12), helpstring("method OnGeometryChanging")] HRESULT OnGeometryChanging(IDispatch* AGraphic,
  74.                                                                                      long GeomID, 
  75.                                                                                      VARIANT* ParamOld, 
  76.                                                                                      VARIANT* ParamNew,
  77.                                                                                      [out, retval] VARIANT_BOOL* ret);
  78.  
  79.         [id(13), helpstring("method OnNewGraphic")] HRESULT OnNewGraphic(IDispatch* CopyGraphic,
  80.                                                                           boolean Copy, 
  81.                                                                           [out, retval] VARIANT_BOOL* ret);
  82.  
  83.         [id(14), helpstring("method OnCopyGraphic")] HRESULT OnCopyGraphic(IDispatch* CopyGraphic,
  84.                                                                            IDispatch* SourceGraphic,
  85.                                                                            [out, retval] VARIANT_BOOL* ret);
  86.  
  87.         [id(15), helpstring("method OnPropertyChanged")] HRESULT OnPropertyChanged(IDispatch* AGraphic,
  88.                                                                                    long PropID, 
  89.                                                                                    VARIANT* ValueOld,
  90.                                                                                    VARIANT* ValueNew);
  91.  
  92.  
  93.         [id(16), helpstring("method OnPropertyChanging")] HRESULT OnPropertyChanging(IDispatch* AGraphic,
  94.                                                                                      long PropID, 
  95.                                                                                      VARIANT* ValueOld,
  96.                                                                                      VARIANT* ValueNew,
  97.                                                                                      [out, retval] VARIANT_BOOL* ret);
  98.  
  99.         [id(17), helpstring("method OnPropertyGet")] HRESULT OnPropertyGet(IDispatch* AGraphic,
  100.                                                                            long PropID);
  101.  
  102.         [id(18), helpstring("method Draw")] HRESULT Draw(IDispatch* AGraphic,
  103.                                                          IDispatch* AView, 
  104.                                                          VARIANT* AMatrix,
  105.                                                          [out, retval] VARIANT_BOOL* ret);
  106.         
  107.         [id(19), helpstring("method Regen")] HRESULT Regen(IDispatch* AGraphic);
  108.         
  109.         [id(20), helpstring("method Initialize")] HRESULT Initialize(IDispatch* ThisRegenMethod, 
  110.                                                                      [out, retval] VARIANT_BOOL* ret);
  111.     };
  112.  
  113. [
  114.     uuid(45232F93-65A2-11D2-8C4A-00403338C504),
  115.     version(1.0),
  116.     helpstring("RRectA 1.0 Type Library")
  117. ]
  118. library RRECTALib
  119. {
  120.     importlib("stdole32.tlb");
  121.     importlib("stdole2.tlb");
  122.  
  123.     [
  124.         uuid(45232FA2-65A2-11D2-8C4A-00403338C504),
  125.         helpstring("AutoRect Class")
  126.     ]
  127.     coclass AutoRect
  128.     {
  129.         [default] interface IAutoRect;
  130.     };
  131. };
  132.